Aventura\Wprss\Core\Model\Regex\HtmlEncoder S

Total Complexity 49
Dependencies 5
Dependents 1
Total lines 608
Lines of code 213
Logical lines of code 128
Comment lines 299
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
cleanMatches()
S
51 7 25
htmlEncodifyRegex()
S
46 5 38
normalizeChar()
S
65 3 9
addHtmlChars()
S
71 2 6
getHtmlCharSynonyms()
S
66 2 8
isSymKey()
S
71 2 6
normalizeCharArray()
S
72 2 6
getSynonymSets()
S
71 2 6
removeHtmlChar()
S
65 2 9
getOccurrenceCount()
S
73 2 5
_extractCharClass()
S
61 1 13
_incrementOccurrence()
S
70 1 6
_construct()
S
68 1 7
_incrementReplacement()
S
82 1 3
getReplacementCount()
S
82 1 3
_injectCharClass()
S
78 1 3
getAutoSynonyms()
S
79 1 3
addHtmlChar()
S
77 1 4
reset()
S
74 1 5
addHtmlCharSynonyms()
S
73 1 5
getHtmlCharSynonymSet()
S
76 1 4
_hasHtmlChar()
S
79 1 3
hasHtmlChar()
S
76 1 4
_setSynonymSets()
S
77 1 4
_setSymmetricalChars()
S
76 1 4
addSymmetricalChars()
S
68 1 7
getSymmetricalChars()
S
82 1 3
getSymPrefix()
S
80 1 3
encodify()
S
68 1 7
_isStringStartsWith()
S
74 1 4